package cn.jsl.shop.mapper;

import cn.jsl.basic.mapper.BaseMapper;
import cn.jsl.basic.dto.ShopDto;
import cn.jsl.shop.domain.Shop;

import java.util.List;

public interface ShopMapper extends BaseMapper<Shop> {

    /**
     * 店铺入驻
     */
    Shop loadByMessage(Shop shop);

    /**
     * 获取每一个店铺状态的数量
     * @return
     */
    List<ShopDto> getShopState();
}
